package com.sinder.campus_prophet.mapper.jwgl;

import com.sinder.campus_prophet.entity.jwgl.TbSchedule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinder.campus_prophet.service.jwgl.bean.dto.ScheduleDto;
import com.sinder.campus_prophet.service.jwgl.bean.vo.ScheduleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author AS
* @description 针对表【tb_schedule(课表数据)】的数据库操作Mapper
* @createDate 2023-03-15 23:13:21
* @Entity com.sinder.campus_prophet.entity.jwgl.TbSchedule
*/
@Mapper
public interface TbScheduleMapper extends BaseMapper<TbSchedule> {
    /*批量插入课表数据*/
    int insertBatch(@Param("scheduleList") List<TbSchedule> scheduleList);
    /* 查询个人课表 */
    List<ScheduleVo> getScheduleList(@Param("schedule") ScheduleDto schedule);
}




